package com.ra.dao;

import java.util.List;

import com.ra.dao.exceptions.InvalidSearchException;
import com.ra.model.product.Product;

public interface ProductDAO {
	public void createProduct(Product product);
	public Product getProduct(Long id);
	public List<Product> searchProducts(String searchString) throws InvalidSearchException;
	public List<Product> getAllProducts();
	public void createProduct(String code, String name, String description);
}
